#ifndef TAGEDITDIALOG_H
#define TAGEDITDIALOG_H

#include<QDialog>
#include"musictag.h"
class QGridLayout;
class QLineEdit;
class QString;
class QLabel;
class QTableWidget;
class QTableWidgetItem;

class TagEditDialog : public QDialog
{
    Q_OBJECT
public:
    TagEditDialog(QWidget *parent = 0);
    int setMusicTable(QTableWidget* Table);

private slots:
    void saveChange();

private:
    int RowOfSong;
    QTableWidget *Table;
    QString FileDir;
    QLineEdit
            *Title,
            *Artist,
            *Album,
            *Genre,
            *Year;

    QLabel
            *title,
            *artist,
            *album,
            *genre,
            *year;

    QPushButton *ButtonOK;
    QPushButton *ButtonCancel;

    QGridLayout *Layout;

};

#endif // TAGEDITDIALOG_H
